import request from '@/utils/request'

// 查询店铺认证管理列表
export function listShopVerification(query) {
  return request({
    url: '/merchant/shopVerification/list',
    method: 'get',
    params: query
  })
}

// 查询店铺认证管理详细
export function getShopVerification(id) {
  return request({
    url: '/merchant/shopVerification/' + id,
    method: 'get'
  })
}

// 新增店铺认证管理
export function addShopVerification(data) {
  return request({
    url: '/merchant/shopVerification',
    method: 'post',
    data: data
  })
}

// 修改店铺认证管理
export function updateShopVerification(data) {
  return request({
    url: '/merchant/shopVerification',
    method: 'put',
    data: data
  })
}

// 删除店铺认证管理
export function delShopVerification(id) {
  return request({
    url: '/merchant/shopVerification/' + id,
    method: 'delete'
  })
}
